﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>我的审批</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" type="text/css" href="~/H-ui/static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="~/H-ui/static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="~/H-ui/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="~/H-ui/static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="~/H-ui/static/h-ui.admin/css/style.css" />
    <link href="~/css/img.css" rel="stylesheet" />
    <link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet">
    <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
    <link href="~/bootstrap-star-rating-master/css/star-rating.css" rel="stylesheet" type="text/css" />
    <script src="~/bootstrap-star-rating-master/js/star-rating.js" type="text/javascript"></script>
</head>
<body class="bb1">
    <div align=center class="d1">
        <marquee style="FONT-SIZE: 35pt; WIDTH: 400px; FILTER: shadow(color=#AF0530); LINE-HEIGHT:15pt; FONT-FAMILY: 隶书; HEIGHT: 80px" scrollamount=6>
            <h2 style="margin-top:0px;text-align:center"><font color=#f90b46>我的审批 </font></h2>
        </marquee>
    </div>

    <div class="page-container">
        <div class="text-c">
            <form action="/Audit/Search" method="post" style="margin-top:50px;">
                报修名称：<input type="text" placeholder="请输入报修名称" name="RepairsName" />
                报修时间：
                <input type="text" name="txtDate" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', maxDate: '#F{$dp.$D(\'datemin\')||\'%y-%M-%d \'}' })" id="datemin" class="input-text Wdate" style="width:120px;">

                <input type="submit" value="查询" class="btn btn-success" />
            </form>
            <table class="table table-border table-bordered table-hover table-bg" style="margin-top:20px;width:1000px; text-align:center;margin-left:50px;">
                <tr>
                    <th>编号</th>
                    <th>车号</th>
                    <th>车厢</th>
                    <th>报修名称</th>
                    <th>报修时间</th>
                    <th>问题发现人</th>
                    <th>问题等级</th>
                    <th>提交人</th>
                    <th>审批</th>
                </tr>
                @foreach (var m in ViewBag.list)
                {
                    <tr>
                        <th>@m.RepairsId</th>
                        <th>@m.WangonName</th>
                        <th>@m.RailWayName</th>
                        <th>@m.RepairsName</th>
                        <th>@m.FindDate</th>
                        <th>@m.FindPeople</th>
                        <th>@m.Grade</th>
                        <th>@m.RapairsPeople</th>
                        <th><a href="/Audit/Audit/@m.RepairsId">@Html.Raw(@m.ExamineState == 0 ? "待审核" : @m.ExamineState == 1 ? "已提交" : @m.ExamineState == 2 ? "科长审核通过" : "审核完成")</a></th>
                    </tr>
                }
            </table>

            <!--分页-->
            <nav class=" text-center">
                <ul id="pagination"></ul>
            </nav>
            <footer class="footer mt-20">
                <div class="container">
                    <p>
                        关于我们  |  联系我们    |  项目合作  |  广告植入   |  友情链接<br />
                        版权所有 京ICP备11009069<br />
                        Copyright ©2016 Gaotie.cn
                    </p>
                </div>
            </footer>
            <script src="~/Pageer/esimakin-twbs-pagination/jquery.twbsPagination.min.js"></script>
            <script type="text/javascript" src="~/H-ui/lib/My97DatePicker/4.8/WdatePicker.js"></script>
            <script type="text/javascript" src="~/H-ui/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
            <script type="text/javascript" src="~/H-ui/lib/laypage/1.2/laypage.js"></script>
            <script>
                $(function () {
                    $('#pagination').twbsPagination({
                        totalPages: '@ViewBag.TotalPage',
                        visiblePages: 2,
                        first: "首页",
                        prev: "上一页",
                        next: "下一页",
                        last: "尾页",
                        href: '/Audit/MyAudit/?PageIndex={{pageNumber}}',
                        hrefVariable: '{{pageNumber}}'
                    });
                })
            </script>
        </div>
    </div>
</body>
</html>
